<template>
	<view>
		<view class="mutual">
			<view class="left_head">
				<view class="header_pic"><image mode="widthFix" :src="item.userpic"></image></view>
				<view class="user_name">
					<view class="name">{{item.username}}</view>
					<view class="age">
						<view class="iconfont " :class="item.sex===0?'icon-xingbie':'icon-man'"></view>
						<view class="age_num">{{item.age}}</view>
					</view>
				</view>
			</view>
			<view class="right_icon iconfont" :class="[item.isguanzhu?'icon-duihao':'icon-bianzu5']"></view>
		</view>
	</view>
</template>

<script>
	export default {
		props:['item'],
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="less" scoped>
.mutual {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 200rpx;
	border-bottom: 2rpx solid #ccc;
	margin: 0 20rpx;
	.left_head {
		display: flex;
		.header_pic {
			image {
				height: 120rpx;
				width: 120rpx;
				border-radius: 50%;
			}
		}
		.user_name {
			padding-left: 20rpx;
			display: flex;
			flex-direction: column;
			justify-content: center;
			.age {
				height: 35rpx;
				width: 70rpx;
				background-color: #43b3ff;
				color: #fff;
				display: flex;
				align-items: center;
				font-size: 20rpx;
				border-radius: 15rpx;
				justify-content: center;
				margin-top: 10rpx;
			}
		}
	}
	.right_icon {
		color: #cccccc;
	}
}
.icon-bianzu5{
	color: #ffa42f !important;
}
</style>
